<?php

namespace zhtfrontend\models\datas;

use Yii;

/**
 * This is the model class for table "{{%mechanic_settlement_relation}}".
 *
 * @property integer $mechanic_settlement_id
 * @property string $checkcount_id
 * @property integer $type
 */
class MechanicSettlementRelation extends \zhtfrontend\components\bases\BaseModel
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%mechanic_settlement_relation}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['mechanic_settlement_id', 'type','checkcount_id'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'mechanic_settlement_id' => Yii::t('zhtfrontend', '计算id'),
            'checkcount_id' => Yii::t('zhtfrontend', '课消id'),
            'type' => Yii::t('zhtfrontend', '1 补贴 2 分成'),
        ];
    }
}
